home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / includ~1.z / includ~1 / pwd.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-04  |  730 b   |  28 lines

  1. /* The <pwd.h> header defines the items in the password file. */
  2.  
  3. #ifndef _PWD_H
  4. #define _PWD_H
  5.  
  6. struct passwd {
  7.   char *pw_name;        /* login name */
  8.   uid_t pw_uid;            /* uid corresponding to the name */
  9.   gid_t pw_gid;            /* gid corresponding to the name */
  10.   char *pw_dir;            /* user's home directory */
  11.   char *pw_shell;        /* name of the user's shell */
  12.  
  13.   /* The following members are not defined by POSIX. */
  14.   char *pw_passwd;        /* password information */
  15.   char *pw_gecos;        /* just in case you have a GE 645 around */
  16. };
  17.  
  18.  
  19. /* Function Prototypes. */
  20. #ifndef _ANSI_H
  21. #include <ansi.h>
  22. #endif
  23.  
  24. _PROTOTYPE( struct passwd *getpwnam, (const char *__name)        );
  25. _PROTOTYPE( struct passwd *getpwuid, (int __uid)            );
  26.  
  27. #endif /* _PWD_H */
  28.